import java.util.Random;

public class RandomGraph {
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		int n= 0;
		Kattio io = new Kattio(System.in, System.out);
		//READ INPUT
		n = io.getInt();
		String test = generateGraph(n);
		System.out.println(test);
	}
	
	public static String generateGraph(int n){
		Random r = new Random();
		StringBuilder sb = new StringBuilder();
		
		if(n <=0)
			n = r.nextInt(1000);
		
		int max = 130;
		
		//System.out.println(n);
		sb.append(n+"\n");
		for(int i = 0;i<n;i++){
			//System.out.println(""+ r.nextDouble()*max + " "+ r.nextDouble()*max);
			//System.out.format(Locale.ENGLISH,"%3f %3f%n", r.nextDouble()*max,r.nextDouble()*max);
			sb.append(r.nextDouble()*max);
			sb.append(" ");
			sb.append(r.nextDouble()*max);
			sb.append("\n");
		}
		return sb.toString();
	}

}
